#!/bin/bash

if [ -f run/gunicorn_8003.pid ]; then
    kill -HUP $(cat run/gunicorn_8003.pid)
    echo "Service restarted"
else
    echo "Service not running, starting..."
    ./start.sh
fi 